package com.code.AZPlan.model.bo;

import com.code.AZPlan.model.po.IncomeFlow;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.util.List;

@ApiModel("收益统计日报业务对象")
@Data
@EqualsAndHashCode(callSuper = false)
@Builder
@NoArgsConstructor
@AllArgsConstructor
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler"})
public class IncomeStatisticsDailyBO implements Serializable {

    private static final long serialVersionUID = -4133703214528326753L;

    @ApiModelProperty(value = "收益日期", example = "只取年月日，如2020-03-01")
    private String incomeDate;

    @ApiModelProperty(value = "用户账号", example = "1")
    private String userAccount;

    @ApiModelProperty(value = "当前页", example = "0")
    private Integer page;

    @ApiModelProperty(value = "每页的大小", example = "10")
    private Integer pageSize;

    @ApiModelProperty(value = "总的记录数", example = "0")
    private Long total;

    @ApiModelProperty(value = "收益统计日报列表", example = "1")
    private List<IncomeStatisticsBO> incomeStatisticsList;

    @ApiModelProperty(value = "收益明细列表", example = "1")
    private List<IncomeFlow> incomeList;
}
